import http from "../../utils/index";

/**
 * 分页查询
 * @param data
 * @returns {*}
 */
export function pager(data = {}) {
    return http.post('api/lgs/version/pager', data);
}

/**
 * 查找详细
 * @param id
 * @returns {*}
 */
export function details(id) {
    return http.get('api/lgs/version/details/'+id);
}

/**
 * 保存
 * @param data
 * @returns {*}
 */
export function save(data = {}) {
    return http.put('api/lgs/version/save', data)
}

/**
 * 删除
 * @param ids
 * @returns {*}
 */
export function remove(ids) {
   return http.delete('api/lgs/version/remove/'+ids);
}
